package com.dianqu.weather.core.model;

import java.util.Date;
import java.util.List;

public class WeatherInfo {

	public static class DetailInfo {
		long id;
		String datetime;
		String weather;
		String wind;
		String temperature;

		public String getDatetime() {
			return datetime;
		}

		public long getId() {
			return id;
		}

		public String getTemperature() {
			return temperature;
		}

		public String getWeather() {
			return weather;
		}

		public String getWind() {
			return wind;
		}

		public void setDatetime(String datetime) {
			this.datetime = datetime;
		}

		public void setId(long id) {
			this.id = id;
		}

		public void setTemperature(String temperature) {
			this.temperature = temperature;
		}

		public void setWeather(String weather) {
			this.weather = weather;
		}

		public void setWind(String wind) {
			this.wind = wind;
		}

		@Override
		public String toString() {
			return "DetailInfo [id=" + id + ", datetime=" + datetime
					+ ", weather=" + weather + ", wind=" + wind
					+ ", temperature=" + temperature + "]";
		}

	}

	Date currentDate;
	int error;
	String cityname;
	String pm25;

	List<DetailInfo> infos;

	public String getCityname() {
		return cityname;
	}

	public Date getCurrentDate() {
		return currentDate;
	}

	public int getError() {
		return error;
	}

	public List<DetailInfo> getInfos() {
		return infos;
	}

	public String getPm25() {
		return pm25;
	}

	public void setCityname(String cityname) {
		this.cityname = cityname;
	}

	public void setCurrentDate(Date currentDate) {
		this.currentDate = currentDate;
	}

	public void setError(int error) {
		this.error = error;
	}

	public void setInfos(List<DetailInfo> infos) {
		this.infos = infos;
	}

	public void setPm25(String pm25) {
		this.pm25 = pm25;
	}

}
